/* ---------- CollapseList ---------- */
.collapse-list-side-bar {
    width: 100%;
}

.collapse-list-output {
    width: 100%;
    height: 100%;
    overflow: hidden auto;
}

.to-end {
    text-align: center;
    color: var(--Colors-Use-Neutral-Disable);
    font-size: 11px;
    line-height: 14px;
    padding-top: 24px;
    padding-bottom: 24px;
}

.collapse-list-base {
    :global {
        .ant-collapse-item > .ant-collapse-header {
            padding: 3px 12px 3px 8px;
            align-items: center;
            color: var(--Colors-Use-Neutral-Text-1-Title);
            &:hover{
                background-color: var(--Colors-Use-Neutral-Bg);
            }
        }
        .ant-collapse-item > .ant-collapse-header .ant-collapse-expand-icon {
            line-height: 16px;
            height: 16px;
        }
        .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow {
            svg {
                width: 16px;
                height: 16px;
                color: var(--Colors-Use-Neutral-Text-3-Secondary);
            }
        }
        .ant-collapse-item > .ant-collapse-header .collapse-expand-arrow {
            svg {
                transform: rotate(90deg);
            }
        }

        .ant-collapse-item > .ant-collapse-content > .ant-collapse-content-box {
            padding: 0;
        }
    }
}

.collapse-list-container-side-bar {
    :global {
        .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow {
            margin-right: 2px;
        }
    }
    .list-item {
        &-render {
            padding: 0;
        }
    }
}

.collapse-list-container-output {
    :global {
        .ant-collapse-item > .ant-collapse-header .ant-collapse-arrow {
            margin-right: 8px;
        }
        .ant-collapse-item > .ant-collapse-header .ant-collapse-header-text {
            overflow: hidden;

        }
    }
    .list-item {
        &-render {
            padding: 0px 12px 0px 32px;

            position: relative;
            .render-tail {
                width: 1px;
                height: calc(100% + 6px);
                background-color: var(--Colors-Use-Neutral-Bg);
                position: absolute;
                top: -3px;
                left: 16px;
            }
        }
        &-render-sideBar {
            padding-bottom: 0px;
        }
    }
}

/* ---------- HelpInfoList ---------- */
.help-info-list {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    :global {
        .ant-collapse-header-text {
            overflow: hidden;
        }
    }
    .title-render {
        color: var(--Colors-Use-Neutral-Text-1-Title);
        font-size: 12px;
        font-weight: 600;
        line-height: 16px;
    }
    .content-render {
        color: var(--Colors-Use-Neutral-Text-1-Title);
        font-size: 12px;
        font-weight: 400;
        line-height: 16px;
        cursor: pointer;
        padding: 3px 12px 3px 0px;
    }
    .file-info-show {
        display: flex;
        flex-direction: row;
        gap: 8px;
        .title {
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            color: var(--Colors-Use-Neutral-Text-1-Title);
            font-size: 12px;
            font-weight: 400;
            line-height: 16px;
        }
        .sub-title {
            color: var(--Colors-Use-Neutral-Text-4-Help-text);
            font-size: 12px;
            font-weight: 400;
            line-height: 16px;
        }
        .count-box {
            padding: 0px 6px;
            border-radius: 2px;
            border: 1px solid var(--Colors-Use-Purple-Border);
            background: var(--Colors-Use-Purple-Bg);
            color: var(--Colors-Use-Purple-Primary);
            font-size: 11px;
            font-weight: 400;
            line-height: 16px;
        }
    }
    .no-data {
        position: absolute;
        height: 100%;
        width: 100%;
        top: 0px;
        left: 0px;
        background: var(--Colors-Use-Basic-Background);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
    }
}
